//
//  HHDeleteMemberDemoViewController.m
//  HHChatKit
//
//  Created by Henry on 2021/8/20.
//

#import "HHDeleteMemberDemoViewController.h"

@interface HHDeleteMemberDemoViewController ()

@end

@implementation HHDeleteMemberDemoViewController

- (void)viewDidLoad {
    [super viewDidLoad];
    self.title = @"删除成员";
    
    self.navigationItem.leftBarButtonItem = [[UIBarButtonItem alloc] initWithTitle:@"关闭" style:UIBarButtonItemStylePlain target:self action:@selector(onClickClose)];

    NSMutableArray *arr = [NSMutableArray array];
    for (int i = 0; i < 3; i ++) {
        HHSelectUserModel *model = [[HHSelectUserModel alloc] init];
        model.name = [NSString stringWithFormat:@"没姓名-%d", i];
        model.userId = [NSString stringWithFormat:@"2%d", i];
        [arr addObject:model];
    }
    
    self.dataArray = arr;
    [self reloadData];

}

- (void)onClickClose {
    [self dismissViewControllerAnimated:YES completion:nil];
}


/*
#pragma mark - Navigation

// In a storyboard-based application, you will often want to do a little preparation before navigation
- (void)prepareForSegue:(UIStoryboardSegue *)segue sender:(id)sender {
    // Get the new view controller using [segue destinationViewController].
    // Pass the selected object to the new view controller.
}
*/

@end
